//默认布局方式
.flex {
  display: flex;
  overflow: hidden;
}

.column {
  flex-direction: column;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

//默认使用1920*1080 转换为vw vh
@mixin vw($args) {
  font-size: ($args/1920) * 100vw;
}

@mixin vh($args) {
  font-size: ($args/1080) * 100vh;
}

@mixin vwh($args) {
  height: ($args / 1920) * 100vw;
}

@mixin vww($args) {
  width: ($args / 1080) * 100vw;
}

@mixin flex {
  display: flex;
}

@mixin flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

@mixin flex-column {
  display: flex;
  flex-direction: column;
}

@mixin flex-center-column {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

@mixin bg-url($url){
  background: url($url) no-repeat center;
  background-size: 100% 100%;
}

@mixin bg-url-size($url,$size1,$size2) {
  background: url($url) no-repeat center;
  background-size: $size1 $size2;
}

@function px2vw($argus) {
  @return ($argus / 1920) * 100vw;
}

@function px2vh($argus) {
  @return ($argus / 1080) * 100vh;
}

.common-module-bg {
  background: url("/image/module-content.png") no-repeat center;
  background-size: 100% 100%;
}

.module-title {
  flex: 30;
  font-size: px2vw(20);
  font-weight: 800;
  align-items: center;
  //padding-bottom: 2%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-box-flex: 30;
  -ms-flex: 30;
  margin-bottom: 0.3125vw;
}

.text-center {
  text-align: center
}

